/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * About.java
 *
 * Created on 2009-maj-24, 12:37:28
 */

package tletlis.UI;

import java.awt.Font;
import javax.swing.ImageIcon;

/**
 *
 * @author Max
 */
public class About extends javax.swing.JFrame {

    /** Creates new form About */
    public About() {
        initComponents();
        this.picLabel.setIcon(new ImageIcon("tletlisBild.jpg"));
        this.setVisible(true);
        header1Label.setText("Tletlis © Game Application");
        
        header1Label.setFont( new Font("Tahoma", Font.BOLD, 15));
        header2Label.setText("This application is developed by:");
        header2Label.setFont(new Font("Tahoma", Font.BOLD, 12));
        gustavLabel.setText("Gustav Landén");
        olaLabel.setText("Ola Petersson");
        maxLabel.setText("Max Sjölinder");
        davidLabel.setText("David Svensson");
        chalmersLabel.setText("At Chalmers University of Technology, May 2009");
        this.setDefaultCloseOperation(HIDE_ON_CLOSE);
        this.setTitle("About Tletlis ©");

        
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        textPanel = new javax.swing.JPanel();
        header2Label = new javax.swing.JLabel();
        gustavLabel = new javax.swing.JLabel();
        olaLabel = new javax.swing.JLabel();
        maxLabel = new javax.swing.JLabel();
        davidLabel = new javax.swing.JLabel();
        chalmersLabel = new javax.swing.JLabel();
        picPanel = new javax.swing.JPanel();
        picLabel = new javax.swing.JLabel();
        header1Label = new javax.swing.JLabel();

        setAlwaysOnTop(true);
        setName("Form"); // NOI18N
        setResizable(false);

        textPanel.setName("textPanel"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(tletlis.Main.class).getContext().getResourceMap(About.class);
        header2Label.setFont(resourceMap.getFont("header2Label.font")); // NOI18N
        header2Label.setText(resourceMap.getString("header2Label.text")); // NOI18N
        header2Label.setName("header2Label"); // NOI18N

        gustavLabel.setFont(resourceMap.getFont("gustavLabel.font")); // NOI18N
        gustavLabel.setText(resourceMap.getString("gustavLabel.text")); // NOI18N
        gustavLabel.setName("gustavLabel"); // NOI18N

        olaLabel.setFont(resourceMap.getFont("olaLabel.font")); // NOI18N
        olaLabel.setText(resourceMap.getString("olaLabel.text")); // NOI18N
        olaLabel.setName("olaLabel"); // NOI18N

        maxLabel.setFont(resourceMap.getFont("maxLabel.font")); // NOI18N
        maxLabel.setText(resourceMap.getString("maxLabel.text")); // NOI18N
        maxLabel.setName("maxLabel"); // NOI18N

        davidLabel.setFont(resourceMap.getFont("davidLabel.font")); // NOI18N
        davidLabel.setText(resourceMap.getString("davidLabel.text")); // NOI18N
        davidLabel.setName("davidLabel"); // NOI18N

        chalmersLabel.setFont(resourceMap.getFont("chalmersLabel.font")); // NOI18N
        chalmersLabel.setText(resourceMap.getString("chalmersLabel.text")); // NOI18N
        chalmersLabel.setName("chalmersLabel"); // NOI18N

        javax.swing.GroupLayout textPanelLayout = new javax.swing.GroupLayout(textPanel);
        textPanel.setLayout(textPanelLayout);
        textPanelLayout.setHorizontalGroup(
            textPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(textPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(textPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(header2Label)
                    .addComponent(gustavLabel)
                    .addComponent(olaLabel)
                    .addComponent(maxLabel)
                    .addComponent(davidLabel)
                    .addComponent(chalmersLabel))
                .addContainerGap(162, Short.MAX_VALUE))
        );
        textPanelLayout.setVerticalGroup(
            textPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(textPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(header2Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(gustavLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(olaLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(maxLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(davidLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(chalmersLabel)
                .addContainerGap(39, Short.MAX_VALUE))
        );

        picPanel.setName("picPanel"); // NOI18N

        picLabel.setText(resourceMap.getString("picLabel.text")); // NOI18N
        picLabel.setName("picLabel"); // NOI18N

        javax.swing.GroupLayout picPanelLayout = new javax.swing.GroupLayout(picPanel);
        picPanel.setLayout(picPanelLayout);
        picPanelLayout.setHorizontalGroup(
            picPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(picPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(picLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE))
        );
        picPanelLayout.setVerticalGroup(
            picPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(picPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(picLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        header1Label.setFont(resourceMap.getFont("header1Label.font")); // NOI18N
        header1Label.setText(resourceMap.getString("header1Label.text")); // NOI18N
        header1Label.setName("header1Label"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(picPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(textPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(header1Label, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(84, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap(24, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(textPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(43, 43, 43))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(picPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(62, 62, 62))))
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(header1Label)
                .addContainerGap(246, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

   
   

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel chalmersLabel;
    private javax.swing.JLabel davidLabel;
    private javax.swing.JLabel gustavLabel;
    private javax.swing.JLabel header1Label;
    private javax.swing.JLabel header2Label;
    private javax.swing.JLabel maxLabel;
    private javax.swing.JLabel olaLabel;
    private javax.swing.JLabel picLabel;
    private javax.swing.JPanel picPanel;
    private javax.swing.JPanel textPanel;
    // End of variables declaration//GEN-END:variables

}
